﻿using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IndentationSplitter.Tests
{
    [TestClass]
    public class IndentationFormatTests
    {
        [TestMethod, TestCategory("UnitTest")]
        public void CanHandleTextWithoutIndentation()
        {
            const string nonIndented = @"line1
line2
line3
lin4";

            var text = new IndentationFormat(nonIndented).TabbedText;

            Assert.AreEqual(nonIndented, text);
        }
    }
}
